package com.sxt.core.context;

import com.sxt.test.controller.CpuController;

/**
 * 初始化ioc容器
 * 
 * @author Liushuangxi
 *
 */
public class InitContext {
	public static void main(String[] args) {
		 IocContext iocContext = new IocContext("com.sxt.test.controller,com.sxt.test.service.impl,com.sxt.test.dao.impl");
		 CpuController controller = iocContext.getBean(CpuController.class);
		 controller.test();
	}
}
